package com.xyj.common;

/**
 * 树
 */
public class TreeNode {

    int value;

    public TreeNode left;

    public TreeNode right;

    public TreeNode() {
    }

    public TreeNode(int value) {
        this.value = value;
    }

    public TreeNode(int value, TreeNode left, TreeNode right) {
        this.value = value;
        this.left = left;
        this.right = right;
    }
}
